package cn.asiawu.springboot.exception;

import lombok.Data;

//自定义异常
@Data
public class ServiceException extends RuntimeException {
    String code;
    public ServiceException(String code,String msg) {
        super(msg);
        this.code=code;

    }
}
